//
// Created by wkm on 2024-03-31.
//

#ifndef CHIPBUS_BLOCKING_IF_H
#define CHIPBUS_BLOCKING_IF_H


#include "systemc.h"
#include "types.h"

class blocking_if : public virtual sc_interface {
public:
    // blocking BUS interface
    virtual status burst_read(unsigned int unique_priority, int *data, unsigned int start_address,
                              unsigned int length = 1, bool lock = false) = 0;

    virtual status burst_write(unsigned int unique_priority, int *data, unsigned int start_address,
                               unsigned int length = 1, bool lock = false) = 0;
};

#endif //CHIPBUS_BLOCKING_IF_H
